package com.chang.bootplus.po;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@ApiModel(value = "修改收货信息", description = "可以将修改过的包含未修改内容的整个全部提交过来，也可以只提交修改的部分和id,其他置为null即可")
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class UpdateLocationPO {

    @ApiModelProperty(value = "收货信息Id",example = "1",required = true)
    private Long id;

    @ApiModelProperty(value = "设置人id",example = "1",required = false)
    private Long userId;

    @ApiModelProperty(value = "省 / 市 / 县",required = true)
    private List<String> wideDetails;

    @ApiModelProperty(value = "收货详细信息",example = "xxxxx",required = false)
    private String message;

    @ApiModelProperty(value = "收货人名",example = "狗昌",required = false)
    private String locationName;

    @ApiModelProperty(value = "收货电话",example = "123",required = false)
    private String locationPhone;

    @ApiModelProperty(value = "是否设置为默认地址：0为不设置 / 1为设置",example = "0",required = false)
    private Integer locationStatus;
}
